package system

import "seven-admin/app/collection"

type LoginLog struct {
	collection.Model
	AdminId  uint   `gorm:"not null;default:0;comment:'管理员ID'"`
	Username string `gorm:"not null;default:'';comment:'登录账号'"`
	Ip       string `gorm:"not null;default:'';comment:'登录地址'"`
	Os       string `gorm:"not null;default:'';comment:'操作系统'"`
	Browser  string `gorm:"not null;default:'';comment:'浏览器'"`
	Status   uint8  `gorm:"not null;default:0;comment:'操作状态: 1=成功, 0=失败'"`
}
